package App.Repository.impl;

import App.Model.Project.CrmProject;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Set;

public interface ProjectDao extends JpaRepository<CrmProject,Long> {
    @Query(value = "select * from crm_project where recid in ?1 ",nativeQuery = true)
     List<CrmProject> getProjectByIds(Set<String> projectIds) ;

}
